package com.kensure.shike.baobei.model;

import java.util.List;

import co.kensure.frame.BaseInfo;

import com.kensure.shike.user.model.SKUser;

/**
 * 发起砍价情况对象类
 * @author fankd created on 2019-7-1
 * @since
 */
public class SKKanJia extends BaseInfo{

	private static final long serialVersionUID = 3545276994084105527L;
	
	/**主键*/		
	private Long id; 

	/**宝贝id*/		
	private Long bbid; 

	/**砍价开始的价格*/		
	private Double startPrice; 

	/**被砍后当前的价格*/		
	private Double curPrice; 

	/**1是正在坎，9是已使用*/		
	private Integer status; 

	/**参与砍价的人数*/		
	private Integer kjcs; 

	/**发起砍价的用户id*/		
	private Long userid; 

	/**
	 * 砍价详情
	 */
	private List<SKKanJiaDetail> helps;
	/**
	 * 用户详情
	 */
	private SKUser user;
	
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public Long getBbid() {
		return bbid;
	}

	public void setBbid(Long bbid) {
		this.bbid = bbid;
	}
	public Double getStartPrice() {
		return startPrice;
	}

	public void setStartPrice(Double startPrice) {
		this.startPrice = startPrice;
	}
	public Double getCurPrice() {
		return curPrice;
	}

	public void setCurPrice(Double curPrice) {
		this.curPrice = curPrice;
	}
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public String getStatusStr() {
		String temp = "进行中";
		if(status == 9 || status == 2){
			temp = "已完成";
		}
		return temp;
	}
	
	public Integer getKjcs() {
		return kjcs;
	}

	public void setKjcs(Integer kjcs) {
		this.kjcs = kjcs;
	}
	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public List<SKKanJiaDetail> getHelps() {
		return helps;
	}

	public void setHelps(List<SKKanJiaDetail> helps) {
		this.helps = helps;
	}

	public SKUser getUser() {
		return user;
	}

	public void setUser(SKUser user) {
		this.user = user;
	}
	
	
}
